package com.mzz.structure.adapter.objectadapter;

import com.mzz.structure.adapter.interfaceadapter.Sourceable;

/**
 *
 * @author xushijian
 * @date 18/6/1 上午10:14
 */
public class Wrapper implements Sourceable {

    private Source source;

    public Wrapper(Source source) {
        this.source = source;
    }

    public void method1() {

        source.method1();

    }

    public void method2() {


        System.out.println("这是一个目标方法");

    }
}
